package cn.tedu._05weibo.mapper;

import cn.tedu._05weibo.pojo.entity.User;
import cn.tedu._05weibo.pojo.vo.UserVO;
import org.springframework.stereotype.Component;

public interface UserMapper {
    /**
     * 1.注册功能-查询接口
     */
    UserVO selectByUsername(String username);
    /**
     * 1.注册功能-插入接口
     */
    int insert(User user);

}
